package com.oscar.ehome.bean.pagebean;

import java.util.List;

/**
 * Created by oscar
 * author: Sgq
 * date: On 2017/7/7
 * 活动页
 */

public class HdBean {


    /**
     * count : 4
     * list : [{"id":"96af71b00e8744b1ad8b3294449b7db0","updateDate":"2017-07-13 08:48:02","ttitle":"保险黑科技","eventImg":"event1.png","eventSrc":"http://www.hdb.com/party/fgcib.html","startDate":"2017-06-23 09:19:43","isView":1,"isSticky":"0","isManager":"1"},{"id":"53c1caac70fd4a36a99b20ba8d1ad85c","updateDate":"2017-07-12 18:51:59","ttitle":"暗室逢灯","eventImg":"event1.png","eventSrc":"http://www.baidu.com","startDate":"2017-07-11 19:39:16","isView":1,"isSticky":"0","isManager":"1"},{"id":"d299f9b323924d0aa90f22bb54460c16","updateDate":"2017-07-12 15:18:00","ttitle":"阿斯蒂芬","eventImg":"149977311714057513.png","eventBigimg":"14997731292418138.jpg","eventDefaultimg":"event1.png","eventSrc":"http://www.baidu.com","startDate":"2017-07-11 19:29:55","isView":1,"isSticky":"0","isManager":"0"},{"id":"cfed470be3fa483d8bb659246bffea81","updateDate":"2017-07-11 15:39:03","ttitle":"泛华保险ehome","eventImg":"/static/images/event2.jpg","eventSrc":"https://www.baidu.com","startDate":"2017-06-14 09:22:57","isView":1,"isSticky":"0","isManager":"0"}]
     */

    private int count;
    private List<ListBean> list;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * id : 96af71b00e8744b1ad8b3294449b7db0
         * updateDate : 2017-07-13 08:48:02
         * ttitle : 保险黑科技
         * eventImg : event1.png
         * eventSrc : http://www.hdb.com/party/fgcib.html
         * startDate : 2017-06-23 09:19:43
         * isView : 1
         * isSticky : 0
         * isManager : 1
         * eventBigimg : 14997731292418138.jpg
         * eventDefaultimg : event1.png
         */

        private String id;
        private String updateDate;
        private String ttitle;
        private String eventSrc;//链接地址
        private String startDate;
        private int isView;
        private String isSticky;
        private String isManager;
        private String eventImg;//小图
        private String eventBigimg;//大图
        private String eventDefaultimg;//默认图
        private String showimg;
        private String eventDetailType;
        private String eventHtml;


        public String getShowimg() {
            return showimg;
        }

        public void setShowimg(String showimg) {
            this.showimg = showimg;
        }


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public String getTtitle() {
            if (ttitle == null) {
                ttitle = "";
            }
            return ttitle;
        }

        public void setTtitle(String ttitle) {
            this.ttitle = ttitle;
        }

        public String getEventImg() {
            if (eventImg == null) {
                eventImg = "";
            }
            return eventImg;
        }

        public void setEventImg(String eventImg) {
            this.eventImg = eventImg;
            this.showimg = this.eventImg;
        }

        public String getEventSrc() {
            if (eventSrc == null) {
                eventSrc = "";
            }
            return eventSrc;
        }

        public void setEventSrc(String eventSrc) {
            this.eventSrc = eventSrc;
        }

        public String getStartDate() {
            if (startDate == null) {
                startDate = "";
            }
            return startDate;
        }

        public void setStartDate(String startDate) {
            this.startDate = startDate;
        }

        public int getIsView() {
            return isView;
        }

        public void setIsView(int isView) {
            this.isView = isView;
        }

        public String getIsSticky() {
            if (isSticky == null) {
                isSticky = "";
            }
            return isSticky;
        }

        public void setIsSticky(String isSticky) {
            this.isSticky = isSticky;
        }

        public String getIsManager() {
            if (isManager == null) {
                isManager = "";
            }
            return isManager;
        }

        public void setIsManager(String isManager) {
            this.isManager = isManager;
        }

        public String getEventBigimg() {
            if (eventBigimg == null) {
                eventBigimg = "";
            }
            return eventBigimg;
        }

        public void setEventBigimg(String eventBigimg) {
            this.eventBigimg = eventBigimg;
            this.showimg = this.eventBigimg;
        }


        public String getEventDefaultimg() {
            if (eventDefaultimg == null) {
                eventDefaultimg = "";
            }
            return eventDefaultimg;
        }

        public void setEventDefaultimg(String eventDefaultimg) {
            this.eventDefaultimg = eventDefaultimg;
            this.showimg = this.eventDefaultimg;
        }

        public String getEventDetailType() {
            if (eventDetailType == null) {
                eventDetailType = "";
            }
            return eventDetailType;
        }

        public void setEventDetailType(String eventDetailType) {
            this.eventDetailType = eventDetailType;
        }

        public String getEventHtml() {
            if (eventHtml == null) {
                eventHtml = "";
            }
            return eventHtml;
        }

        public void setEventHtml(String eventHtml) {
            this.eventHtml = eventHtml;
        }
    }
}
